package cn.ibizlab.odoo.core.odoo_asset.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_asset.domain.Asset_category;
import cn.ibizlab.odoo.core.odoo_asset.filter.Asset_categorySearchContext;

/**
 * 实体[Asset_category] 服务对象接口
 */

public interface IAsset_categoryService{
     Asset_category get(Integer id) ;
     Asset_category get(Asset_category asset_category) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean remove(Integer id) ;
     void updateBatch(List<Asset_category> asset_categorys, int batchSize) ;
     void createBatch(List<Asset_category> asset_categorys, int batchSize) ;
     boolean create(Asset_category asset_category) ;
     boolean update(Asset_category asset_category) ;

    /**
     * 查询集合 默认查询
     */
    Page<Asset_category> searchDefault(Asset_categorySearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Asset_category> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Asset_category> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Asset_category convert2Domain(cn.ibizlab.odoo.core.client.model.Iasset_category model ,Asset_category domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iasset_category convert2Model(Asset_category domain , cn.ibizlab.odoo.core.client.model.Iasset_category model);

}
